﻿using UnityEngine;

namespace ZxcRP.Runtime.Renderers
{
    /// <summary>
    /// 缓存Shader变量
    /// </summary>
    public static class ShaderVariable
    {
        public static readonly int ObjectToWorldMatrix = Shader.PropertyToID("zxc_ObjectToWorldMatrix");
        public static readonly int WorldToObjectMatrix = Shader.PropertyToID("zxc_WorldToObjectMatrix");
        public static readonly int ViewMatrix = Shader.PropertyToID("zxc_ViewMatrix");
        public static readonly int ProjectionMatrix = Shader.PropertyToID("zxc_ProjectionMatrix");
        public static readonly int VPMatrix = Shader.PropertyToID("zxc_VPMatrix");
    }
}